package pers.amos.eshop.product.ha.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author amos wong
 * @create 2020-11-16 9:09 下午
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductInfo implements Serializable {
    private Long id;
    private String name;
    private Double price;
    private String pictureList;
    private String specification;
    private String service;
    private String color;
    private String size;
    private Long shopId;
    /**
     * 记录的修改日期，用来做分布式锁的时间戳
     */
    private String modifiedDate;
    /**
     * 演示基于信号量的资源隔离技术
     */
    private Long cityId;

    /**
     * 演示基于信号量的资源隔离技术
     */
    private String cityName;
}
